<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>灯泡开关</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script type="text/javascript">
   		function changeImage(){
   			element=document.getElementById("image");
   			if(element.src.match("pic_bulboff.gif")){
   				element.src="../images/pic_bulbon.gif";
   			}else{
   				element.src="../images/pic_bulboff.gif";
   			}
   		}
   </script>
  </head>
  
  <body>
   <img id="image" onclick="changeImage()" src="../images/pic_bulboff.gif" width="180px" height="240px">
   <p id="le">请点击灯泡控制开关</p>
  </body>
</html>
